<template>
  <div class="app">
    <header>
      <img src="logo.png" alt="" />
      <div class="center">
        <span><router-link to="">经验</router-link></span>
        <span><router-link to="/baike">百科</router-link></span>
      </div>
      <span class="iconfont icon-xiaoxizhongxin"></span>
    </header>
    <BrLink />
  </div>
</template>

<script>
export default {
  __el: ".app",
};
</script>

<style lang="scss" scoped>
header {
  height: 0.7rem;
  background-color: #64bfba;
  display: flex;
  justify-content: space-between;
  padding: 0.23rem 0.14rem;
  img {
    width: 0.25rem;
    height: 0.25rem;
  }
  .iconfont {
    font-size: 0.18rem;
  }
  .center {
    width: 0.84rem;
    height: 0.26rem;
    text-align: center;
    line-height: 0.26rem;
    background-color: #4ea5a1;
    border-radius: 0.2rem;
    font-size: 0.12rem;
    display: flex;
    justify-content: space-evenly;
    a {
      color: white;
      display: block;
    }
    a:hover {
      margin-top: 0.02rem;
      color: #64bfba;
      width: 0.41rem;
      height: 0.22rem;
      text-align: center;
      line-height: 0.22rem;
      border-radius: 0.2rem;
      background-color: rgb(255, 255, 255);
    }
  }
}
</style>